import request from '@/utils/request'

// 上传文件
export function uploadFile(data) {
    return request({
      url: '/file/info/upload',
      method: 'post',
      headers: { "Content-Type": "application/x-www-form-urlencoded" },
      data: data,
    })
  }
export function listFile(query) {
  return request({
    url: '/file/info/list',
    method: 'get',
    params: query
  })
}
